import Vue from 'vue'
import Router from 'vue-router'

import eva from '../views/evaluation/router'
import org from '../views/org/router'
import member from '../views/member/router'

Vue.use(Router)

export default new Router({
    mode: 'hash',
    routes: [
        ...eva,
        // ...org,
        // ...member,
        // { path: '/', redirect: org[0].path },
        { path: '/401', component: resolve => require(['@/views/errorPage/401.vue'], resolve), hidden: true },
        { path: '*', component: resolve => require(['@/views/errorPage/404.vue'], resolve), hidden: true },
    ],
})
